3.3.17 \(\int \frac {1}{(a-(a-b) x^4) \sqrt [4]{a+b x^4}} \, dx\) [217]

Optimal. Leaf size=57 \[ \frac {\tan ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}} \]

[Out]

1/2*arctan(a^(1/4)*x/(b*x^4+a)^(1/4))/a^(5/4)+1/2*arctanh(a^(1/4)*x/(b*x^4+a)^(1/4))/a^(5/4)

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 57, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {385, 218, 212, 209} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((a - (a - b)*x^4)*(a + b*x^4)^(1/4)),x]

[Out]

ArcTan[(a^(1/4)*x)/(a + b*x^4)^(1/4)]/(2*a^(5/4)) + ArcTanh[(a^(1/4)*x)/(a + b*x^4)^(1/4)]/(2*a^(5/4))

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 218

Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b, 2]]},
Dist[r/(2*a), Int[1/(r - s*x^2), x], x] + Dist[r/(2*a), Int[1/(r + s*x^2), x], x]] /; FreeQ[{a, b}, x] &&  !Gt
Q[a/b, 0]

Rule 385

Int[((a_) + (b_.)*(x_)^(n_))^(p_)/((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Subst[Int[1/(c - (b*c - a*d)*x^n), x]
, x, x/(a + b*x^n)^(1/n)] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && EqQ[n*p + 1, 0] && IntegerQ[n]

Rubi steps

\begin {align*} \int \frac {1}{\left (a-(a-b) x^4\right ) \sqrt [4]{a+b x^4}} \, dx &=\text {Subst}\left (\int \frac {1}{a-(a b-a (-a+b)) x^4} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )\\ &=\frac {\text {Subst}\left (\int \frac {1}{1-\sqrt {a} x^2} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )}{2 a}+\frac {\text {Subst}\left (\int \frac {1}{1+\sqrt {a} x^2} \, dx,x,\frac {x}{\sqrt [4]{a+b x^4}}\right )}{2 a}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}}+\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.31, size = 48, normalized size = 0.84 \begin {gather*} \frac {\tan ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )+\tanh ^{-1}\left (\frac {\sqrt [4]{a} x}{\sqrt [4]{a+b x^4}}\right )}{2 a^{5/4}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((a - (a - b)*x^4)*(a + b*x^4)^(1/4)),x]

[Out]

(ArcTan[(a^(1/4)*x)/(a + b*x^4)^(1/4)] + ArcTanh[(a^(1/4)*x)/(a + b*x^4)^(1/4)])/(2*a^(5/4))

________________________________________________________________________________________

Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (a -\left (a -b \right ) x^{4}\right ) \left (b \,x^{4}+a \right )^{\frac {1}{4}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a-(a-b)*x^4)/(b*x^4+a)^(1/4),x)

[Out]

int(1/(a-(a-b)*x^4)/(b*x^4+a)^(1/4),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a-(a-b)*x^4)/(b*x^4+a)^(1/4),x, algorithm="maxima")

[Out]

-integrate(1/(((a - b)*x^4 - a)*(b*x^4 + a)^(1/4)), x)

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a-(a-b)*x^4)/(b*x^4+a)^(1/4),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {1}{a x^{4} \sqrt [4]{a + b x^{4}} - a \sqrt [4]{a + b x^{4}} - b x^{4} \sqrt [4]{a + b x^{4}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a-(a-b)*x**4)/(b*x**4+a)**(1/4),x)

[Out]

-Integral(1/(a*x**4*(a + b*x**4)**(1/4) - a*(a + b*x**4)**(1/4) - b*x**4*(a + b*x**4)**(1/4)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a-(a-b)*x^4)/(b*x^4+a)^(1/4),x, algorithm="giac")

[Out]

integrate(-1/(((a - b)*x^4 - a)*(b*x^4 + a)^(1/4)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {1}{{\left (b\,x^4+a\right )}^{1/4}\,\left (a-x^4\,\left (a-b\right )\right )} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a + b*x^4)^(1/4)*(a - x^4*(a - b))),x)

[Out]

int(1/((a + b*x^4)^(1/4)*(a - x^4*(a - b))), x)

________________________________________________________________________________________